package gam.n1.ask;

import gam.n1.areas.Area;

import java.util.*;

public final class Asking {
    private static final Map<UUID, Area> Mission = new WeakHashMap<>();
    public static void Ask(UUID u,Area a){
        Mission.put(u,a);
    }
    public static boolean isAsking(UUID u){
        return Mission.containsKey(u);
    }
    public static Area getAskingArea(UUID u){
        return Mission.get(u);
    }

    public static void remove(UUID uniqueId) { Mission.remove(uniqueId); }

}
